package com.gxa.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * (Order)实体类
 *
 * @author makejava
 * @since 2020-11-25 17:20:41
 */
@ApiModel(value = "订单 ")
public class Order implements Serializable {
    private static final long serialVersionUID = 148160069535067784L;
    /**
     * 订单id(主键)
     */
    @ApiModelProperty(name = "mpId",notes = "订单id(主键)",required = false,value = "订单id(主键)")
    private Integer orderId;
    /**
     * 订单编号
     */
    @ApiModelProperty(name = "orderCode",notes = "订单编号",required = false,value = "订单编号")
    private String orderCode;
    /**
     * 订单状态(0:已删除 1:未删除)
     */
    @ApiModelProperty(name = "orderStatus",notes = "订单状态(0:已删除 1:未删除)",required = false,value = "订单状态(0:已删除 1:未删除)")
    private Integer orderStatus;
    /**
     * 购买用户
     */
    @ApiModelProperty(name = "orderBu",notes = " 购买用户",required = false,value = " 购买用户")
    private String orderBu;
    /**
     * 下单时间
     */
    @ApiModelProperty(name = "orderOt",notes = " 下单时间",required = false,value = " 下单时间")
    private Date orderOt;
    /**
     * 支付方式
     */
    @ApiModelProperty(name = "orderPm",notes = " 支付方式",required = false,value = " 支付方式")
    private String orderPm;
    /**
     * 付款时间
     */
    @ApiModelProperty(name = "orderPt",notes = " 付款时间",required = false,value = " 付款时间")
    private Date orderPt;
    /**
     * 配送方式
     */
    @ApiModelProperty(name = "orderDm",notes = " 配送方式",required = false,value = " 配送方式")
    private String orderDm;
    /**
     * 发货时间
     */
    @ApiModelProperty(name = "orderDt",notes = " 发货时间",required = false,value = " 发货时间")
    private Date orderDt;
    /**
     * 发货单号
     */
    @ApiModelProperty(name = "orderIn",notes = " 发货单号",required = false,value = " 发货单号")
    private String orderIn;
    /**
     * 客户留言
     */
    @ApiModelProperty(name = "orderCm",notes = " 客户留言",required = false,value = " 客户留言")
    private String orderCm;
    /**
     * 费用信息id(外键)
     */
    @ApiModelProperty(name = "costinforId",notes = " 费用信息id(外键)",required = false,value = " 费用信息id(外键)")
    private Integer costinforId;
    /**
     * 会员收获地址id(外键)
     */
    @ApiModelProperty(name = "memLocationid",notes = " 会员收获地址id(外键)",required = false,value = " 会员收获地址id(外键)")
    private Integer memLocationid;
    /**
     * 商品id(外键)
     */
    @ApiModelProperty(name = "goodsId",notes = " 商品id(外键)",required = false,value = " 商品id(外键)")
    private Integer goodsId;
    /**
     * 订单操作id(外键)
     */
    @ApiModelProperty(name = "ordoperId",notes = " 订单操作id(外键)",required = false,value = " 订单操作id(外键)")
    private Integer ordoperId;

    private MemLocations memLocations;

    private Goods goods;

    private Ordoper ordoper;

    private Costinfor costinfor;
    @Override
    public String toString() {
        return "Order{" +
                "orderId=" + orderId +
                ", orderCode='" + orderCode + '\'' +
                ", orderStatus=" + orderStatus +
                ", orderBu='" + orderBu + '\'' +
                ", orderOt=" + orderOt +
                ", orderPm='" + orderPm + '\'' +
                ", orderPt=" + orderPt +
                ", orderDm='" + orderDm + '\'' +
                ", orderDt=" + orderDt +
                ", orderIn='" + orderIn + '\'' +
                ", orderCm='" + orderCm + '\'' +
                ", costinforId=" + costinforId +
                ", memLocationid=" + memLocationid +
                ", goodsId=" + goodsId +
                ", ordoperId=" + ordoperId +
                '}';
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getOrderBu() {
        return orderBu;
    }

    public void setOrderBu(String orderBu) {
        this.orderBu = orderBu;
    }

    public Date getOrderOt() {
        return orderOt;
    }

    public void setOrderOt(Date orderOt) {
        this.orderOt = orderOt;
    }

    public String getOrderPm() {
        return orderPm;
    }

    public void setOrderPm(String orderPm) {
        this.orderPm = orderPm;
    }

    public Date getOrderPt() {
        return orderPt;
    }

    public void setOrderPt(Date orderPt) {
        this.orderPt = orderPt;
    }

    public String getOrderDm() {
        return orderDm;
    }

    public void setOrderDm(String orderDm) {
        this.orderDm = orderDm;
    }

    public Date getOrderDt() {
        return orderDt;
    }

    public void setOrderDt(Date orderDt) {
        this.orderDt = orderDt;
    }

    public String getOrderIn() {
        return orderIn;
    }

    public void setOrderIn(String orderIn) {
        this.orderIn = orderIn;
    }

    public String getOrderCm() {
        return orderCm;
    }

    public void setOrderCm(String orderCm) {
        this.orderCm = orderCm;
    }

    public Integer getCostinforId() {
        return costinforId;
    }

    public void setCostinforId(Integer costinforId) {
        this.costinforId = costinforId;
    }

    public Integer getMemLocationid() {
        return memLocationid;
    }

    public void setMemLocationid(Integer memLocationid) {
        this.memLocationid = memLocationid;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getOrdoperId() {
        return ordoperId;
    }

    public void setOrdoperId(Integer ordoperId) {
        this.ordoperId = ordoperId;
    }

    public MemLocations getMemLocations() {
        return memLocations;
    }

    public void setMemLocations(MemLocations memLocations) {
        this.memLocations = memLocations;
    }

    public Goods getGoods() {
        return goods;
    }

    public void setGoods(Goods goods) {
        this.goods = goods;
    }

    public Ordoper getOrdoper() {
        return ordoper;
    }

    public void setOrdoper(Ordoper ordoper) {
        this.ordoper = ordoper;
    }

    public Costinfor getCostinfor() {
        return costinfor;
    }

    public void setCostinfor(Costinfor costinfor) {
        this.costinfor = costinfor;
    }
}